<template>
  <div class="drag-container" >
    <div class="drag-el" >
      <div>{{posX}}</div>
      <div>{{posY}}</div>
    </div>
  </div>
</template>
<script>
export default {
  name:'DragDepend',
  data(){
    return {
      posX:0,
      posY:0,
      move_started:0,
    }
  },
  methods:{

  },
}
</script>
<style scoped lang="stylus">
.drag-container{
  position:relative;
  width:100%;
  height:100%;
  .drag-el{
    position:absolute;
    width:.5rem;
    height:.5rem;
    background-color:#f66;
  }
}
</style>

